package com.dp.iot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:323237052
*/
@Data
public class IotEquipment implements Serializable{

    private String equipmentId;//设备ID
    private String productLineId;//产线ID
    private String equipmentTypeId;//设备类型ID
    private String equipmentCode;//设备编码
    private String equipmentName;//设备名称
    private String equipmentStatus;//设备状态
    private String equipmentIp;//设备IP地址
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp equipmentStartTime;//开始日期
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp equipmentEndTime;//报废日期
    private String gatewayId;//连接网关ID
    private String equipmentImage;//设备图片地址
    private String equipmentManager;//责任人
    private String equipmentBrand;//品牌
    private String equipmentSupplier;//供应商
    private BigDecimal equipmentPrice;//设备价格
    private String remarks;//备注
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp creationTime;//创建时间
    private String creationUser;//创建人
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp updateTime;//更新时间
    private String updateUser;//更新人
    private String spare1;//备用1
    private String spare2;//备用2
    private String spare3;//备用3


    public String getEquipmentId(){
        return equipmentId;
    }
    public void setEquipmentId(String equipmentId){
        this.equipmentId = equipmentId;
    }

    public String getProductLineId(){
        return productLineId;
    }
    public void setProductLineId(String productLineId){
        this.productLineId = productLineId;
    }

    public String getEquipmentTypeId(){
        return equipmentTypeId;
    }
    public void setEquipmentTypeId(String equipmentTypeId){
        this.equipmentTypeId = equipmentTypeId;
    }

    public String getEquipmentCode(){
        return equipmentCode;
    }
    public void setEquipmentCode(String equipmentCode){
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentName(){
        return equipmentName;
    }
    public void setEquipmentName(String equipmentName){
        this.equipmentName = equipmentName;
    }

    public String getEquipmentStatus(){
        return equipmentStatus;
    }
    public void setEquipmentStatus(String equipmentStatus){
        this.equipmentStatus = equipmentStatus;
    }

    public String getEquipmentIp(){
        return equipmentIp;
    }
    public void setEquipmentIp(String equipmentIp){
        this.equipmentIp = equipmentIp;
    }

    public Timestamp getEquipmentStartTime(){
        return equipmentStartTime;
    }
    public void setEquipmentStartTime(Timestamp equipmentStartTime){
        this.equipmentStartTime = equipmentStartTime;
    }

    public Timestamp getEquipmentEndTime(){
        return equipmentEndTime;
    }
    public void setEquipmentEndTime(Timestamp equipmentEndTime){
        this.equipmentEndTime = equipmentEndTime;
    }

    public String getGatewayId(){
        return gatewayId;
    }
    public void setGatewayId(String gatewayId){
        this.gatewayId = gatewayId;
    }

    public String getEquipmentImage(){
        return equipmentImage;
    }
    public void setEquipmentImage(String equipmentImage){
        this.equipmentImage = equipmentImage;
    }

    public String getEquipmentManager(){
        return equipmentManager;
    }
    public void setEquipmentManager(String equipmentManager){
        this.equipmentManager = equipmentManager;
    }

    public String getEquipmentBrand(){
        return equipmentBrand;
    }
    public void setEquipmentBrand(String equipmentBrand){
        this.equipmentBrand = equipmentBrand;
    }

    public String getEquipmentSupplier(){
        return equipmentSupplier;
    }
    public void setEquipmentSupplier(String equipmentSupplier){
        this.equipmentSupplier = equipmentSupplier;
    }

    public BigDecimal getEquipmentPrice(){
        return equipmentPrice;
    }
    public void setEquipmentPrice(BigDecimal equipmentPrice){
        this.equipmentPrice = equipmentPrice;
    }

    public String getRemarks(){
        return remarks;
    }
    public void setRemarks(String remarks){
        this.remarks = remarks;
    }

    public Timestamp getCreationTime(){
        return creationTime;
    }
    public void setCreationTime(Timestamp creationTime){
        this.creationTime = creationTime;
    }

    public String getCreationUser(){
        return creationUser;
    }
    public void setCreationUser(String creationUser){
        this.creationUser = creationUser;
    }

    public Timestamp getUpdateTime(){
        return updateTime;
    }
    public void setUpdateTime(Timestamp updateTime){
        this.updateTime = updateTime;
    }

    public String getUpdateUser(){
        return updateUser;
    }
    public void setUpdateUser(String updateUser){
        this.updateUser = updateUser;
    }

    public String getSpare1(){
        return spare1;
    }
    public void setSpare1(String spare1){
        this.spare1 = spare1;
    }

    public String getSpare2(){
        return spare2;
    }
    public void setSpare2(String spare2){
        this.spare2 = spare2;
    }

    public String getSpare3(){
        return spare3;
    }
    public void setSpare3(String spare3){
        this.spare3 = spare3;
    }
}
